package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-01.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqAddMeasureUnitBean {

//    _savetype 	是 	string 	添加：add，修改：update
//    name 	是 	string 	计量单位名称
//    corder 	是 	int 	排序：默认为：255
//    debug 	是 	string 	开启：true
    private String _savetype = "add";
    private String name;
    private String corder;
    private boolean debug = AppHelp.getInstance().Debug;

    public ReqAddMeasureUnitBean(String name, String corder) {
        this.name = name;
        this.corder = corder;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
